package com.csap.framework.oauth2.exception;

import com.csap.framework.oauth2.type.ExceptionType;

/**
 * @Author ycf
 * @Date 2021/8/19 5:58 下午
 * @Version 1.0
 */
public class InvalidGrantException extends ClientAuthenticationException {
    public InvalidGrantException(String msg, Throwable t) {
        super(msg, t);
    }
    public InvalidGrantException() {
        super(ExceptionType.invalid_grant.getMessage());
    }
    @Override
    public ExceptionType exceptionType() {
        return ExceptionType.invalid_grant;
    }
}
